<?php

return [

    'actor_name' => '',//根据业务配置:服务名称
    'route' => [
        'prefix' => '',//根据业务配置:url前缀
        'name' => 'inner@xxxx.yimq',//根据业务配置:路由名称
    ],
    'services' => [
        'default' => [
            'uri' => env('YIMQ_DEFALUT_SERVICE_URI'),
            'headers' => [
            ]
        ]
    ],

    'topics' => [

    ],

    /**
     * 处理器
     */
    'processors' => [
        '{项目名称}.{模块名称}.order.create.tcc' => \Example\Services\Processor\Order\OrderCreate::class,//创建订单
        '{项目名称}.{模块名称}.order.cancel' => \Example\Services\Processor\Order\OrderCancel::class,//取消订单
        '{项目名称}.{模块名称}.order.callback' => \Example\Services\Processor\Order\OrderPayCallback::class,//订单回调
        'order-refund.refund.{模块名称}.callback' => \Example\Services\Processor\Order\OrderRefundCallback::class,//售后退款回调
        '{项目名称}.{模块名称}.order.settle' => \Example\Services\Processor\Order\OrderSettleCallback::class,//结算回调
    ],
    /**
     * 广播消息主题
     */
    'broadcast_topics' => [
    ],
    /**
     * 广播消息监听器注册
     */
    'broadcast_listeners' => [
    ]


];
